export let isEmail = (val) => {
    return /\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/.test(val)
}

export let notEmpty = (val) => {
    if (val) {
        return true
    } else {
        return false
    }
}